package kr.co.mustgo.model.service.membership;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import kr.co.mustgo.domain.membership.Membership;
import kr.co.mustgo.membership.exception.DuplicatedIdException;



public interface MembershipService {

	public abstract void joinMembership(Membership membership) throws SQLException, DuplicatedIdException;
	
	public abstract Membership getMembershipById(String id) throws SQLException;

	public abstract void modifyMembership(Membership membership) throws SQLException;
	
	public abstract void removeMembershipById(String id) throws SQLException;
	
	public abstract List<Membership> getMembershipList() throws SQLException;

	public abstract List<Membership> searchMembershipByName(String name) throws SQLException;

	public abstract Map getMembershipListPaging(int page) throws SQLException;
	
}//end class
